package com.xh.clean.core.util;

import com.xh.clean.config.properties.XhProperties;

/**
 * 验证码工具类
 */
public class KaptchaUtil {

    /**
     * 获取验证码开关
     */
    public static Boolean getKaptchaOnOff() {
        return SpringContextHolder.getBean(XhProperties.class).getKaptchaOpen();
    }
}